// 对外暴露一个函数

// 存token
export const setToken = (token) => {
  localStorage.setItem('TOKEN', token)
}


// 取token
export const getToken = () => {
  return localStorage.getItem('TOKEN')
}


// 清除token
export const removeToken = () => {
  localStorage.removeItem('TOKEN')
}